package org.jeecg.basic.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class SysExceptionHistoryDTO implements Serializable {
    private static final long serialVersionUID = 8625184272517304420L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Integer recId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date ctime;
    /**
     * 服务名
     */
    @ApiModelProperty(value = "服务名")
    private String server;
    /**
     * 产线或产线组
     */
    @ApiModelProperty(value = "产线或产线组")
    private String line;
    /**
     * 工位
     */
    @ApiModelProperty(value = "工位")
    private String op;
    /**
     * 工站
     */
    @ApiModelProperty(value = "工站")
    private String stn;
    /**
     * 工单ID
     */
    @ApiModelProperty(value = "工单ID")
    private String woid;
    /**
     * 序列号
     */
    @ApiModelProperty(value = "序列号")
    private String unitsn;
    /**
     * 命令名
     */
    @Excel(name = "命令名", width = 15)
    @Dict(dicCode = "cmd_type")
    @ApiModelProperty(value = "命令名")
    private String cmd;
    /**
     * 错误代码
     */
    @ApiModelProperty(value = "错误代码")
    private String errcode;
    /**
     * 错误描述
     */
    @ApiModelProperty(value = "错误描述")
    private String errmsg;

    private String sTime;

    private String eTime;

}
